public class test2 {
    public static void main(String[] args) {
        MyDate date1 = new MyDate("2012.2.3");
        MyDate date2 = new MyDate("1998.2.4");
        MyDate date3 = new MyDate("1999.2.6");
        Person Alen = new Person("Alen","newyork","323253254","214321@163.com");
        Student Xiaomin = new Student("Xiaomin","Beijing","13244332442","24343525@qq.com","高一");
        Empolyee Laowang = new Empolyee("laowang","Hangzhou","132134234","2412423@qq,com","腾讯",12000,date1.date);
        Faculty Zhangwei = new Faculty("Zhangwei","Shanghai","1334325435","2145325325@qq.com","米哈游",444444,date2.date,26,"CEO");
        Staff Xiaoli = new Staff("Xiaoli","CHongqing","143432532","5325325@qq.com","西维兵",2434334,date3.date,"领导");
        System.out.println(Alen.toString());
        System.out.println(Xiaomin.toString());
        System.out.println(Laowang.toString());
        System.out.println(Zhangwei.toString());
        System.out.println(Xiaoli.toString());
    }
}
